home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CAD Tools
/
CAD Tools.iso
/
programs
/
cad009.exe
/
R12C3FIX.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-04-06
|
3KB
|
98 lines
@echo off
rem Patches .\acad.exe
patch /nop /nos %1\c1-c3his
if errorlevel 1 goto perror
rem PKSFX (self-extracting file) containing: .\*.xmx
rem .\acad.dll
rem .\acad3.dll
rem If you patch .\acad.exe to level c3, you must also
rem extract these files to run acad.
%1\acadwin1 -d -o
if errorlevel 1 goto perror
rem PKSFX (self-extracting file) containing: .\ddebas.exe
rem other .\*.dll
%1\acadwin2 -d -o
if errorlevel 1 goto perror
:isdisk2
if exist %1\update2.mid goto disk2
echo.
echo Insert Disk 2 and
pause
goto isdisk2
:disk2
rem Patches other .\*.dll, other .\*.exe
rem If you patch .\acad.exe to level c3, you must
rem also patch these files to run acad.
patch /i /nop %1\acadwin2
if errorlevel 1 goto perror
rem Patches .\ads\*.lib, .\ase\*.lib, .\fonts\*.pfm
patch /i /nop %1\adsasef
if errorlevel 1 goto perror
rem PKSFX (self-extracting file) containing: other .\*.exe
rem .\readme.*
rem .\support\*.dcl
rem some .\support\*.lsp
rem .\sample\*.lsp
rem .\fonts\*.shp
%1\acadwin3 -d -o
if errorlevel 1 goto perror
:isdisk3
if exist %1\update3.mid goto disk3
echo.
echo Insert Disk 3 and
pause
goto isdisk3
:disk3
rem PKSFX (self-extracting file) containing: some .\ads\*.*
%1\ads1 -d -o
if errorlevel 1 goto perror
rem PKSFX (self-extracting file) containing: other .\ads\*.*
%1\ads2 -d -o
if errorlevel 1 goto perror
:isdisk4
if exist %1\update4.mid goto disk4
echo.
echo Insert Disk 4 and
pause
goto isdisk4
:disk4
rem PKSFX (self-extracting file) containing: .\fonts\*.pfb
rem .\fonts\*.shx
rem .\fonts\fontmap.ps
rem .\ads\win\*.*
rem .\ase\*.h
rem .\igesfont\*.dwg
%1\adsasefi -d -o
if errorlevel 1 goto perror
rem PKSFX (self-extracting file) containing: .\support\acad*.*
%1\sup2 -d -o
if errorlevel 1 goto perror
echo Installation complete.
goto exit
:perror
echo Installation not complete.
:exit
if exist %1\update4.mid goto disk4a
echo.
echo Insert Disk 4 and
pause
goto exit
:disk4a
%1\cleanup